﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="set.aspx.cs" Inherits="AnyOffice.general.system.res_manage.set" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>内部邮件和我的文件柜容量设置</title>
		
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<script src="/aspnet_client/core/function.js"></script>
		<SCRIPT language="javascript">
function check_form()
{
 if(document.Form1.txtCapacity.value == "")
  {
     alert("容量大小不能为空！");
	 document.Form1.txtCapacity.focus();
     return false;
  }
   if(!checkIsInteger(document.Form1.txtCapacity.value))
  {
     alert("容量大小只能为整数！");
     document.Form1.txtCapacity.focus();
     return false;
  }  
}
		</SCRIPT>
	</HEAD>
	<body class="bodycolor" topMargin="5">
		<form id="Form1" method="post" runat="server">
			<asp:panel id="pnlMain" runat="server">
				<TABLE class="small" cellSpacing="0" cellPadding="3" width="100%" border="0">
					<TR>
						<TD class="Big"><IMG height="18" src="/images/sys_config.gif" width="18" align="absMiddle"><SPAN class="big3">
								内部邮件和我的文件柜容量批量设置</SPAN>
						</TD>
					</TR>
				</TABLE>
				<TABLE class="small" cellSpacing="1" cellPadding="3" width="450" align="center" bgColor="#000000"
					border="0">
					<TR>
						<TD class="TableData" noWrap width="100">角色：</TD>
						<TD class="TableData" noWrap>
							<asp:dropdownlist id="ddlPrivId" runat="server" CssClass="BigSelect"></asp:dropdownlist></TD>
					</TR>
					<TR>
						<TD class="TableData" noWrap width="100">模块：</TD>
						<TD class="TableData" noWrap>
							<asp:dropdownlist id="ddlModule" runat="server" CssClass="BigSelect">
								<asp:ListItem Value="EmailCapacity" Selected="True">内部邮件</asp:ListItem>
								<asp:ListItem Value="FolderCapacity">我的文件柜</asp:ListItem>
							</asp:dropdownlist></TD>
					</TR>
					<TR>
						<TD class="TableData" noWrap width="100">大小(MB)：</TD>
						<TD class="TableData" noWrap>
							<asp:textbox id="txtCapacity" runat="server" CssClass="BigInput" Columns="5" MaxLength="6"></asp:textbox>&nbsp;为0则不限制容量
						</TD>
					</TR>
					<TR>
						<TD class="TableControl" noWrap align="center" colSpan="2"><INPUT class="BigButton" onclick="return check_form();" type="submit" value="批量设置">
						</TD>
					</TR>
				</TABLE>
			</asp:panel>
			<asp:Literal id="litMessage" runat="server"></asp:Literal></form>
	</body>
</HTML>
